﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="partner_AgentReport.aspx.cs" Inherits="partner_partner_AgentReport" %>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />

<title>Real estate</title>
<script src="../js/html5.js"></script>

<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css" />
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
 <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" 
            rel="stylesheet" type="text/css"/>
   
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" rel="Stylesheet" type ="text/css" />
   

<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address1").hide();
        $("#DropDownList1").change(function () {

            var x = $(this).val();
            if (x == "Yes") {
                $("#student_permanent_address1").show();
            }
            else {
                $("#student_permanent_address1").hide();
            }

        });
    });
</script>

 </head>
 <body>
<form id="form_std_register" class="form_control" runat="server">
   

   <div id="wrapper">
    <div class="ui-widget">
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
     
     
       <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>

      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label2" runat="server" text="Label"></asp:label><span class="arrow"></span></a></li>
      <li><span class="logout_icon"></span>
          
          <asp:HyperLink
              ID="HyperLink1" runat="server" NavigateUrl="~/admin.aspx">Logout</asp:HyperLink></li>
      <div id="box3" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">
    <div id="content">
      <div id="titalbar"> 
        <h1>Agent reports</h1>
        <asp:Label ID="Label1" runat="server" Text="Label" Visible ="false" ></asp:Label>
      </div>
      <div id="content_placeholder">
      
         
		   <div id="student_permanent_address2" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Reports</h2>
            </div>
          
                <asp:Panel ID="Panel1" runat="server" Width ="600px">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        CssClass="mGrid" DataSourceID="SqlDataSource1" AllowPaging="True" 
                       >
                        <Columns>
                            <asp:BoundField DataField="a_id" HeaderText="Agent id" 
                                SortExpression="a_id" />
                            <asp:BoundField DataField="f_name" HeaderText="name" 
                                SortExpression="f_name" />
                            <asp:BoundField DataField="occu" HeaderText="occu" 
                                SortExpression="occu" />
                            <asp:BoundField DataField="h_no" HeaderText="house number" 
                                SortExpression="h_no" />
                            <asp:BoundField DataField="adding_by" HeaderText="Added by" 
                                SortExpression="adding_by" />
                            <asp:BoundField DataField="type" HeaderText="type" 
                                SortExpression="type" />
                            <asp:BoundField DataField="adding_date" HeaderText="Adding Date" 
                                SortExpression="adding_date" />
                            <asp:BoundField DataField="ssn" HeaderText="ssn" SortExpression="ssn" />
                            <asp:BoundField DataField="email" HeaderText="email" SortExpression="email" />
                        </Columns>
                    </asp:GridView>
               
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                        
                        SelectCommand="SELECT [a_id], [f_name], [occu], [h_no], [adding_by], [type], [adding_date], [ssn], [email] FROM [agent_add] WHERE ([status] = @status)">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="Label1" Name="status" PropertyName="Text" 
                                Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
               
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                        SelectCommand="SELECT [docid], [action_], [added_by], [c_name], [to_do], [created], [DocName], [Type_], [DocData] FROM [task]">
                    </asp:SqlDataSource>
                </asp:Panel>
            <div>
              
               </div>
          </div>
          <%-- <div id="Div3" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="Div4" class="form_title"><img src="../images/icons/email.png">
              <h2>information</h2>
            </div>
            <table>
              <tr>
                <asp:GridView runat="server" AutoGenerateColumns="False" CssClass="mGrid" 
                   DataSourceID="SqlDataSource13">
                  <Columns>
                      <asp:BoundField DataField="block" HeaderText="block" SortExpression="block" />
                      <asp:BoundField DataField="zone" HeaderText="zone" SortExpression="zone" />
                      <asp:BoundField DataField="o_price" HeaderText="o_price" 
                          SortExpression="o_price" />
                      <asp:BoundField DataField="rooms" HeaderText="rooms" SortExpression="rooms" />
                      <asp:BoundField DataField="premises" HeaderText="premises" 
                          SortExpression="premises" />
                      <asp:BoundField DataField="garden3" HeaderText="garden3" 
                          SortExpression="garden3" />
                      <asp:BoundField DataField="level3" HeaderText="level3" 
                          SortExpression="level3" />
                      <asp:BoundField DataField="status1" HeaderText="status1" 
                          SortExpression="status1" />
                  </Columns>
               </asp:GridView>
               <asp:SqlDataSource ID="SqlDataSource13" runat="server" 
                   ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                   SelectCommand="SELECT [block], [zone], [o_price], [rooms], [premises], [garden3], [level3], [status1] FROM [properties]">
               </asp:SqlDataSource>
               <asp:SqlDataSource ID="SqlDataSource12" runat="server" 
                   ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                   SelectCommand="SELECT * FROM [properties] WHERE (([price] = @price) AND ([balcony] = @balcony) AND ([ac] = @ac) AND ([basement] = @basement) AND ([street] = @street) AND ([garden] = @garden) AND ([city] = @city) AND ([strong] = @strong) AND ([zone] = @zone))">
                   <SelectParameters>
                       <asp:ControlParameter ControlID="DropDownList1" Name="price" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList2" Name="balcony" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList3" Name="ac" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList4" Name="basement" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList6" Name="street" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList7" Name="garden" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList5" Name="city" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList8" Name="strong" 
                           PropertyName="SelectedValue" Type="String" />
                       <asp:ControlParameter ControlID="DropDownList9" Name="zone" 
                           PropertyName="SelectedValue" Type="String" />
                   </SelectParameters>
               </asp:SqlDataSource>
              <tr>
                <td >Agent<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox5" runat="server"  type="text"></asp:TextBox></td>
                <td >Rank<span style="color:#F00;"></span></td>
                <td>
                  <asp:DropDownList ID="DropDownList4" runat="server" Width="118px">
                  </asp:DropDownList></td>
                <td >Commision<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox7" runat="server"  type="text"></asp:TextBox></td>
              </tr>
			  <tr>
                
                <td >Referer<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox8" runat="server"  type="text"></asp:TextBox></td>
                <td >Exclusivity<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox9" runat="server"  type="text"></asp:TextBox></td>
                 <td >Exclusivity<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox10" runat="server"  type="text"></asp:TextBox></td>
              </tr>
			  	  <tr>
                    
                <td >Import Document<span style="color:#F00;"></span></td>
                <td>    <asp:FileUpload ID="FileUpload2" runat="server" /></td>
                </tr>
                <tr>
                <td >Create Form<span style="color:#F00;"></span></td>
                    
                <td><a data-toggle="modal" href="#createform" id="btnemail" style="font-weight:bold;">Updates</a></td>
                 <td >Calender<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox12" runat="server"  type="text"></asp:TextBox></td></tr>
              </tr>
            </table>
              
          </div>--%>

         
          <div id="student_submit" class="form_placeholder_std" style="margin-top:0;border-top:none;border-bottom:none;">
            <div id="student_title4" class="form_title">
              <div style="margin-left:27px;margin-top:2px;">
                   
              </div>
            </div>
          </div>
         
      </div>
    </div>
  </div>
    <script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
 <div id="leftcolumn">
 <div id="leftcolumn_top">
      <div id="addtask" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
     
   
  </tr>
  <tr>
      
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <p><a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight:bold;"><img src="../images/icons/task.png" style="margin-right:7px;" />View</a></p></div>
      </div>
       <div id="addtask1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table1" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label3" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label4" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList2" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agente Agent</td>
       <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
           </div>
      </div>
      
 </div>
 <ul id="nav">
      <li><a href="dahboard_partner.aspx"><img src="../images/icons/home.png" class="menu_icon">Dashboard</a> </li>
      <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">Client Master</a>
        <ul>
          <li><a href="add_new_client.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Add new client</a></li>
          <li><a href="Clients.aspx"><img src="../images/icons/tabs.png" class="menu_icon"> Edit Clients</a></li>
         
        </ul>
      </li>
      <li><a href="#"><img src="../images/icons/std.png" class="menu_icon">Properties Master</a>
        <ul>
          <li><a href="partner_add_property.aspx"><img src="../images/icons/plus.png" class="menu_icon">Property Details</a></li>
          <li><a href="Partner_Search_Property.aspx"><img src="../images/icons/pencil.png" class="menu_icon">Search/Edit Property </a></li>
          <li><a href=""><img src="../images/icons/zoom.png" class="menu_icon">Search Record</a></li>
          <li><a href="prop_reports_partner.aspx"><img src="../images/icons/pages.png" class="menu_icon">Reports</a></li>
        </ul>
      </li>
      <li><a href="#"><img src="../images/icons/forms.png" class="menu_icon"> Requests Details</a>
        <ul>
          <li><a href="partner_add_request.aspx">Add Requests </a></li>
     
          <li><a href="partnerRequestReport.aspx">Reports</a></li>
        </ul>
      </li>
      <li><a href="#"><img src="../images/icons/forms.png" class="menu_icon"> Agent Details</a>
        <ul>
          <li><a href="partner_Add_agent.aspx">Add Agents </a></li>
          <li><a href="partner_agent_edit.aspx">Edit  Record</a></li>
         
          <li><a href="partner_AgentReport.aspx">Reports</a></li>
        </ul>
      </li>
     <li><a href="#"><img src="../images/icons/forms.png" class="menu_icon">Profile Management</a>
        <ul> <li><a href="ViewProfilePartner.aspx"> My Profile</a></li>
        </ul>
      </li>
      <li><a href="#"><img src="../images/icons/id.png" class="menu_icon"> Search</a>
        <ul>
          <li><a href="paretner_notes.aspx" >Notes</a></li>
       
          <li><a href="partner_task.aspx" >Tasks</a></li>
          <li><a href="partner_property_sell_buy.aspx">Properties to buy/sell/rent</a></li>
        </ul>
      </li>
     
      
    </ul>
  </div>
  


   <div id="footer">
    <p> Copyright &copy; 2013. II technology</p>
  </div>

</div>
</form>
</body>
</html>